package com.basic.inspection.dao.mapper;

import com.basic.inspection.dao.model.EquipmentLifeCycle;
import com.basic.inspection.dao.model.EquipmentLifeCycleExample;
import com.basic.inspection.dao.model.EquipmentLifeCycleKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EquipmentLifeCycleMapper {
    long countByExample(EquipmentLifeCycleExample example);

    int deleteByExample(EquipmentLifeCycleExample example);

    int deleteByPrimaryKey(EquipmentLifeCycleKey key);

    int insert(EquipmentLifeCycle record);

    int insertSelective(EquipmentLifeCycle record);

    List<EquipmentLifeCycle> selectByExample(EquipmentLifeCycleExample example);

    EquipmentLifeCycle selectByPrimaryKey(EquipmentLifeCycleKey key);

    int updateByExampleSelective(@Param("record") EquipmentLifeCycle record, @Param("example") EquipmentLifeCycleExample example);

    int updateByExample(@Param("record") EquipmentLifeCycle record, @Param("example") EquipmentLifeCycleExample example);

    int updateByPrimaryKeySelective(EquipmentLifeCycle record);

    int updateByPrimaryKey(EquipmentLifeCycle record);
}